Optimal. Leaf size=16 \[ \sqrt{x-1} x \sqrt{x+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0091387, antiderivative size = 16, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.045, Rules used = {384} \[ \sqrt{x-1} x \sqrt{x+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 384
Rubi steps
\begin{align*} \int \frac{-1+2 x^2}{\sqrt{-1+x} \sqrt{1+x}} \, dx &=\sqrt{-1+x} x \sqrt{1+x}\\ \end{align*}
Mathematica [C] time = 0.0913363, size = 66, normalized size = 4.12 \[ \frac{\sqrt{x-1} \left (x \sqrt{1-x^2}-2 \sin ^{-1}\left (\frac{\sqrt{1-x}}{\sqrt{2}}\right )\right )}{\sqrt{1-x}}+2 \tanh ^{-1}\left (\sqrt{\frac{x-1}{x+1}}\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.042, size = 13, normalized size = 0.8 \begin{align*} x\sqrt{-1+x}\sqrt{1+x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.965673, size = 12, normalized size = 0.75 \begin{align*} \sqrt{x^{2} - 1} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.67343, size = 36, normalized size = 2.25 \begin{align*} \sqrt{x + 1} \sqrt{x - 1} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 12.5668, size = 129, normalized size = 8.06 \begin{align*} - \begin{cases} 2 \operatorname{acosh}{\left (\frac{\sqrt{2} \sqrt{x + 1}}{2} \right )} & \text{for}\: \frac{\left |{x + 1}\right |}{2} > 1 \\- 2 i \operatorname{asin}{\left (\frac{\sqrt{2} \sqrt{x + 1}}{2} \right )} & \text{otherwise} \end{cases} + \frac{{G_{6, 6}^{6, 2}\left (\begin{matrix} - \frac{3}{4}, - \frac{1}{4} & - \frac{1}{2}, - \frac{1}{2}, 0, 1 \\-1, - \frac{3}{4}, - \frac{1}{2}, - \frac{1}{4}, 0, 0 & \end{matrix} \middle |{\frac{1}{x^{2}}} \right )}}{2 \pi ^{\frac{3}{2}}} - \frac{i{G_{6, 6}^{2, 6}\left (\begin{matrix} - \frac{3}{2}, - \frac{5}{4}, -1, - \frac{3}{4}, - \frac{1}{2}, 1 & \\- \frac{5}{4}, - \frac{3}{4} & - \frac{3}{2}, -1, -1, 0 \end{matrix} \middle |{\frac{e^{2 i \pi }}{x^{2}}} \right )}}{2 \pi ^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16967, size = 16, normalized size = 1. \begin{align*} \sqrt{x + 1} \sqrt{x - 1} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]